spectrum_tf Module



Variables

Type Visibility Attributes Name Initial
integer(kind=int32), public, parameter :: SPCTRM_H1_ESTIMATOR = 50002

A flag for requesting an H1 transfer function estimator. An H1 estimator is best used when noise is uncorrelated with the input, and results in a transfer function estimate of the form

.

integer(kind=int32), public, parameter :: SPCTRM_H2_ESTIMATOR = 50003

A flag for requesting an H2 transfer function estimator. An H2 estimator is best used when noise is uncorrelated with the output, and results in a transfer function estimate of the form

.


Functions

public pure function mimo_transfer_function(win, x, y, etype, nfft) result(rst)

Estimates the transfer function matrix for a multiple-input/ multiple-output (MIMO) system.

Read more…

Arguments

Type IntentOptional Attributes Name
class(window), intent(in) :: win

The window object.

real(kind=real64), intent(in) :: x(:,:)

An N-by-NIN array containing the input signals.

real(kind=real64), intent(in) :: y(:,:)

An N-by-NOUT array containing the output signals.

integer(kind=int32), intent(in), optional :: etype

An optional input that, if supplied, denotes the estimator to use. Supported values are the same as for SISO transfer estimates.

integer(kind=int32), intent(in), optional :: nfft

An optional input that can be used to force the length of each individual DFT operation by padding any remaining space with zeros.

Return Value complex(kind=real64), allocatable, (:,:,:)

Returns the complex-valued transfer function estimate matrix.

public pure function siso_transfer_function(win, x, y, etype, nfft) result(rst)

Estimates the transfer function for a single-input/single-output (SISO) system.

Arguments

Type IntentOptional Attributes Name
class(window), intent(in) :: win

The window object.

real(kind=real64), intent(in) :: x(:)

An N-element array containing the input signal.

real(kind=real64), intent(in) :: y(:)

An N-element array containing the output signal.

integer(kind=int32), intent(in), optional :: etype

An optional input that, if supplied, denotes the estimator to use. If no value is specified, an H1 estimator is used. The following options are supported.

Read more…
integer(kind=int32), intent(in), optional :: nfft

An optional input that can be used to force the length of each individual DFT operation by padding any remaining space with zeros. If not supplied, the window size is used to determine the size of the DFT.

Return Value complex(kind=real64), allocatable, (:)

Returns the complex-valued transfer function estimate.